package Practice;

import java.util.Scanner;

public class Password {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        String s = sc.next();
        int len = s.length();

        StringBuilder password = new StringBuilder();
        for (int i = 0; i < len; i++) {
            char c = s.charAt(i);
            int shift = (c - 'a' + n) % 26;//计算每个字符向后移动 n 位后的字母，使用取模运算保证循环移动
            char word = (char) (shift + 'a');
            password.append(word);
        }
        System.out.println(password.toString());
    }
}
